package main

import (
	"log"
	"net/http"
	"os"
	"github.com/jander/golog/logger"
	"github.com/kardianos/service"
)
/*
用于注册为Windows服务
*/

type program struct {

}

func(p *program) Start(s service.Service) error{
	go p.run()
	return nil
}

func (p *program)run(){
	//****
}

func (p *program)Stop(s service.Service)error{
	return nil
}


func main(){
	svcConfig := &service.Config{
		Name:"",//服务显示名称
		DisplayName:"",//服务名称
		Description:"",//服务描述
	}
}



